class sunit:
    def __init__(self,unit):
        self.id = unit.id
        self.ticket = unit.ticket.id
        self.link = unit.ticket.mapreduce.link
        self.meta = unit.meta
        self.fitness = unit.fitness
        self.network = unit.network